home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / NETSNMP.IN_ / netsnmp.inf
Encoding:
INI File  |  2003-06-19  |  11.6 KB  |  368 lines

  1. ; NETSNMP.INX
  2. ;
  3. ; Simple Network Management Protocol
  4. ;
  5. ; Copyright (c) 1993-1999, Microsoft Corporation
  6.  
  7. [Version]
  8. Signature="$Windows NT$"
  9. LayoutFile=layout.inf
  10. Provider=%Msft%
  11. DriverVer=03/03/2003,5.00.2195.6675
  12.  
  13. [SNMP]
  14. CopyFiles               = CpyFiles_Sys
  15. DelFiles                = DelObsolete_Sys
  16. Uninstall               = SNMP.Remove
  17. StartServices           = SNMP, SNMPTRAP
  18.  
  19. [SNMP.Remove]
  20. DelReg                  = SNMP.DelReg
  21. DelFiles                = DelFiles_Sys
  22.  
  23. [DestinationDirs]
  24. CpyFiles_Sys            = 11                ;%windir%\System32
  25. DelFiles_Sys            = 11                ;%windir%\System32
  26. DelObsolete_Sys         = 11                ;%windir%\System32
  27.  
  28. [SNMP.Services]
  29. AddService = SNMP, 0x10,         SNMP_Service_Inst,      SNMP_Evt
  30. AddService = SNMPTRAP, 0x10,     SNMPTRAP_Service_Inst,  SNMPTRAP_Evt
  31.  
  32. [SNMP.Remove.Services]
  33. DelService = SNMP, 0x04
  34. DelService = SNMPTRAP, 0x04
  35.  
  36. ;-------------------------------------------------------------------------
  37. ; SNMP subagent sections/entries
  38. ; In order to add an SNMP subagent:
  39. ; - define an entry in each of [SNMP.SNMPAgent] and [SNMP.Remove.SNMPAgent]
  40. ; - define [SNMP.Add<subagent>] and [SNMP.Remove.Del<subagent>]
  41. ; - make sure the binary is copied/removed by [CpyFiles_Sys] and [DelFiles_Sys]
  42. ; - any other particular registry configuration should go in [SNMP.AddReg] and [SNMP.DelReg]
  43. ;-------------------------------------------------------------------------
  44. [SNMP.SNMPAgent]
  45. AddAgent = SNMP.AddLMMIB2Agent
  46. AddAgent = SNMP.AddINETMIB1Agent
  47. AddAgent = SNMP.AddHOSTMIBAgent
  48. AddAgent = SNMP.AddSNMPAgent
  49. AddAgent = SNMP.AddEVNTAgent
  50. AddAgent = SNMP.AddWINSSNMPAgent
  51. AddAgent = SNMP.AddDHCPSNMPAgent
  52. AddAgent = SNMP.AddACSSNMPAgent
  53. AddAgent = SNMP.AddIGMPSNMPAgent
  54. AddAgent = SNMP.AddIPMulticastSNMPAgent
  55. AddAgent = SNMP.AddIPXSNMPAgent
  56. AddAgent = SNMP.AddIASSNMPAgent
  57.  
  58. [SNMP.Remove.SNMPAgent]
  59. DelAgent = SNMP.Remove.DelLMMIB2Agent
  60. DelAgent = SNMP.Remove.DelINETMIB1Agent
  61. DelAgent = SNMP.Remove.DelHOSTMIBAgent
  62. DelAgent = SNMP.Remove.DelSNMPAgent
  63. DelAgent = SNMP.Remove.DelEVNTAgent
  64. DelAgent = SNMP.Remove.DelWINSSNMPAgent
  65. DelAgent = SNMP.Remove.DelDHCPSNMPAgent
  66. DelAgent = SNMP.Remove.DelACSSNMPAgent
  67. DelAgent = SNMP.Remove.DelIGMPSNMPAgent
  68. DelAgent = SNMP.Remove.DelIPMulticastSNMPAgent
  69. DelAgent = SNMP.Remove.DelIPXSNMPAgent
  70. AddAgent = SNMP.Remove.DelIASSNMPAgent
  71.  
  72. [SNMP.AddLMMIB2Agent]
  73. ServiceName = "SNMP"
  74. AgentName = "LANManagerMIB2Agent"
  75. AgentPath = "%SystemRoot%\System32\lmmib2.dll"
  76.  
  77. [SNMP.AddINETMIB1Agent]
  78. ServiceName = "SNMP"
  79. AgentName = "RFC1156Agent"
  80. AgentPath = "%SystemRoot%\System32\inetmib1.dll"
  81.  
  82. [SNMP.AddHOSTMIBAgent]
  83. ServiceName = "SNMP"
  84. AgentName = "HostMIB"
  85. AgentPath = "%SystemRoot%\System32\hostmib.dll"
  86.  
  87. [SNMP.AddSNMPAgent]
  88. ServiceName = "SNMP"
  89. AgentName = "SNMPMIB"
  90. AgentPath = "%SystemRoot%\System32\snmpmib.dll"
  91.  
  92. [SNMP.AddEVNTAgent]
  93. ServiceName = "SNMP"
  94. AgentName = "SNMP_EVENTS"
  95. AgentPath = "%SystemRoot%\System32\evntagnt.dll"
  96.  
  97. [SNMP.AddWINSSNMPAgent]
  98. ServiceName = "WINS"
  99. AgentName = "WINSMibAgent"
  100. AgentPath = "%SystemRoot%\System32\winsmib.dll"
  101.  
  102. [SNMP.AddDHCPSNMPAgent]
  103. ServiceName = "DHCPServer"
  104. AgentName = "DhcpMibAgent"
  105. AgentPath = "%SystemRoot%\System32\dhcpmib.dll"
  106.  
  107. [SNMP.AddACSSNMPAgent]
  108. ServiceName = "RSVP"
  109. AgentName = "ACS"
  110. AgentPath = "%SystemRoot%\System32\acsmib.dll"
  111.  
  112. [SNMP.AddIGMPSNMPAgent]
  113. ServiceName = "RemoteAccess"
  114. AgentName = "IGMPMibAgent"
  115. AgentPath = "%SystemRoot%\System32\igmpagnt.dll"
  116.  
  117. [SNMP.AddIPMulticastSNMPAgent]
  118. ServiceName = "RemoteAccess"
  119. AgentName = "IPMulticastMibAgent"
  120. AgentPath = "%SystemRoot%\System32\mcastmib.dll"
  121.  
  122.  
  123.  
  124.  
  125. [SNMP.AddIPXSNMPAgent]
  126. ServiceName = "RemoteAccess"
  127. AgentName = "IPXMibAgent"
  128. AgentPath = "%SystemRoot%\System32\rtipxmib.dll"
  129.  
  130. [SNMP.AddIASSNMPAgent]
  131. ServiceName = "IAS"
  132. AgentName = "IASAgent"
  133. AgentPath = "%SystemRoot%\System32\iasperf.dll"
  134.  
  135. [SNMP.Remove.DelLMMIB2Agent]
  136. AgentName = "LANManagerMIB2Agent"
  137.  
  138. [SNMP.Remove.DelINETMIB1Agent]
  139. AgentName = "RFC1156Agent"
  140.  
  141. [SNMP.Remove.DelHOSTMIBAgent]
  142. AgentName = "HostMIB"
  143.  
  144. [SNMP.Remove.DelSNMPAgent]
  145. AgentName = "SNMPMIB"
  146.  
  147. [SNMP.Remove.DelEVNTAgent]
  148. AgentName = "SNMP_EVENTS"
  149.  
  150. [SNMP.Remove.DelWINSSNMPAgent]
  151. AgentName = "WINSMibAgent"
  152.  
  153. [SNMP.Remove.DelDHCPSNMPAgent]
  154. AgentName = "DhcpMibAgent"
  155.  
  156. [SNMP.Remove.DelACSSNMPAgent]
  157. AgentName = "ACS"
  158.  
  159. [SNMP.Remove.DelIGMPSNMPAgent]
  160. AgentName = "IGMPMibAgent"
  161.  
  162. [SNMP.Remove.DelIPMulticastSNMPAgent]
  163. AgentName = "IPMulticastMibAgent"
  164.  
  165. [SNMP.Remove.DelRIPSNMPAgent]
  166. AgentName = "RIPMibAgent"
  167.  
  168. [SNMP.Remove.DelOSPFSNMPAgent]
  169. AgentName = "OSPFMibAgent"
  170.  
  171. [SNMP.Remove.DelBOOTPSNMPAgent]
  172. AgentName = "BOOTPMibAgent"
  173.  
  174. [SNMP.Remove.DelIPXSNMPAgent]
  175. AgentName = "IPXMibAgent"
  176.  
  177. [SNMP.Remove.DelIASSNMPAgent]
  178. AgentName = "IASAgent"
  179.  
  180. ;-------------------------------------------------------------------------
  181. ; File operations performed on SNMP service installation
  182. ; - copy files to %windir%system32 directory
  183. ; - copy files to %windir%help directory
  184. ; - delete obsoleted files from %windir%\system32 directory
  185. ;-------------------------------------------------------------------------
  186. [CpyFiles_Sys]
  187. lmmib2.dll,,,2
  188. hostmib.dll,,,2
  189. snmpmib.dll,,,2
  190. evntagnt.dll,,,2
  191. evntcmd.exe,,,2
  192. evntwin.exe,,,2
  193. snmp.exe,,,2
  194. snmptrap.exe,,,2
  195. acs.mib,,,2
  196. accserv.mib,,,2
  197. authserv.mib,,,2
  198. dhcp.mib,,,2
  199. ftp.mib,,,2
  200. hostmib.mib,,,2
  201. http.mib,,,2
  202. inetsrv.mib,,,2
  203. ipforwd.mib,,,2
  204. lmmib2.mib,,,2
  205. mcastmib.mib,,,2
  206. mib_ii.mib,,,2
  207. mipx.mib,,,2
  208. mripsap.mib,,,2
  209. msft.mib,,,2
  210. msipbtp.mib,,,2
  211. msiprip2.mib,,,2
  212. nipx.mib,,,2
  213. smi.mib,,,2
  214. wfospf.mib,,,2
  215. wins.mib,,,2
  216.  
  217. [DelObsolete_Sys]
  218. snmpcfg.exe,,,1
  219.  
  220. ;-------------------------------------------------------------------------
  221. ; File operations performed when SNMP service gets uninstalled
  222. ; - delete files from %windir%\system32 directory
  223. ; - delete files from %windir%\help directory
  224. ;-------------------------------------------------------------------------
  225. [DelFiles_Sys]
  226. lmmib2.dll,,,1
  227. hostmib.dll,,,1
  228. snmpmib.dll,,,1
  229. evntagnt.dll,,,1
  230. evntcmd.exe,,,1
  231. evntwin.exe,,,1
  232. snmp.exe,,,1
  233. snmptrap.exe,,,1
  234. acs.mib,,,1
  235. accserv.mib,,,1
  236. authserv.mib,,,1
  237. dhcp.mib,,,1
  238. ftp.mib,,,1
  239. hostmib.mib,,,1
  240. http.mib,,,1
  241. inetsrv.mib,,,1
  242. ipforwd.mib,,,1
  243. lmmib2.mib,,,1
  244. mcastmib.mib,,,1
  245. mib_ii.mib,,,1
  246. mipx.mib,,,1
  247. mripsap.mib,,,1
  248. msft.mib,,,1
  249. msipbtp.mib,,,1
  250. msiprip2.mib,,,1
  251. nipx.mib,,,1
  252. smi.mib,,,1
  253. wfospf.mib,,,1
  254. wins.mib,,,1
  255.  
  256. ;-------------------------------------------------------------------------
  257. ; Service Install Sections
  258. ;-------------------------------------------------------------------------
  259. [SNMP_Service_Inst]
  260. DisplayName     =   %SNMP_Display%
  261. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  262. StartType       =   %SERVICE_AUTO_START%
  263. ErrorControl    =   1
  264. ServiceBinary   =   "%%SystemRoot%%\System32\snmp.exe"
  265. Dependencies    =   EventLog
  266. StartName       =   LocalSystem
  267. AddReg          =   SNMP_AddReg
  268. Description     =   %SNMP_Desc%
  269.  
  270. [SNMPTRAP_Service_Inst]
  271. DisplayName     =   %SNMPTRAP_Display%
  272. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  273. StartType       =   %SERVICE_DEMAND_START%
  274. ErrorControl    =   1
  275. ServiceBinary   =   "%%SystemRoot%%\System32\snmptrap.exe"
  276. Dependencies    =   EventLog
  277. StartName       =   LocalSystem
  278. AddReg          =   SNMPTRAP_AddReg
  279. Description     =   %SNMPTRAP_Desc%
  280.  
  281.  
  282.  
  283. [SNMP_AddReg]
  284. HKR,"Parameters",                        "EnableAuthenticationTraps",    0x00010003, 1
  285. HKR,"Parameters",                        "NameResolutionRetries",        0x00010003, 16
  286. HKR,"Parameters\ExtensionAgents",       ,                                0x00000010      ; no values
  287. HKR,"Parameters\PermittedManagers",     ,                                0x00000010      ; no values
  288. HKR,"Parameters\TrapConfiguration",     ,                                0x00000010      ; no values
  289. HKR,"Parameters\ValidCommunities",      ,                                0x00000010      ; no values
  290.  
  291. HKR,"Parameters\RFC1156Agent",                                "sysContact",        0x00000002, ""
  292. HKR,"Parameters\RFC1156Agent",                                "sysLocation",       0x00000002, ""
  293. HKR,"Parameters\RFC1156Agent",                                "sysServices",       0x00010003, 76
  294.  
  295. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "ConfigurationType", 0x00010003, 0
  296. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "TranslatorEnabled", 0x00000002, "No"
  297. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "BaseEnterpriseOID", 0x00000002, "1.3.6.1.4.1.311.1.13.1"
  298. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "SupportedView",     0x00000002, "2.0"
  299. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Sources",       ,                    0x00000010       ; no values
  300.  
  301. [SNMP.DelReg]
  302. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt"
  303.  
  304. ;-------------------------------------------------------------------------
  305. ; Event sources registered when SNMP is installed
  306. ;-------------------------------------------------------------------------
  307. [SNMP_Evt]
  308. AddReg = SNMP_Evt_AddReg
  309. AddReg = EVNTAGNT_Evt_AddReg
  310. ;-------------------------------------------------------------------------
  311. ; register SNMP.EXE as an event source
  312. ;-------------------------------------------------------------------------
  313. [SNMP_Evt_AddReg]
  314. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmp.exe"
  315. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  316. ;-------------------------------------------------------------------------
  317. ; register EVNTAGNT.DLL as an event source
  318. ;-------------------------------------------------------------------------
  319. [EVNTAGNT_Evt_AddReg]
  320. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\evntagnt.dll"
  321. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", TypesSupported,   %REG_DWORD%,        0x00000007
  322.  
  323. ;-------------------------------------------------------------------------
  324. ; Event sources registered when SNMPTRAP service is installed
  325. ;-------------------------------------------------------------------------
  326. [SNMPTRAP_Evt]
  327. AddReg = SNMPTRAP_Evt_AddReg
  328. ;-------------------------------------------------------------------------
  329. ; register SNMPTRAP.EXE as an event source
  330. ;-------------------------------------------------------------------------
  331. [SNMPTRAP_Evt_AddReg]
  332. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmptrap.exe"
  333. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  334.  
  335. [Strings]
  336. Msft = "Microsoft"
  337.  
  338. ; Service names
  339. SNMP_Display = "SNMP Service"
  340. SNMP_Desc = "Includes agents that monitor the activity in network devices and report to the network console workstation."
  341. SNMPTRAP_Display = "SNMP Trap Service"
  342. SNMPTRAP_Desc = "Receives trap messages generated by local or remote SNMP agents and forwards the messages to SNMP management programs running on this computer."
  343. SNMP_HELP = "Simple Network Management Protocol service that enables a Windows computer to be administered remotely with an SNMP management tool."
  344. Admin_Tools = "Administrative Tools"
  345.  
  346. REG_MULTI_SZ = 0x10000
  347. REG_EXPAND_SZ = 0x20000
  348. FLG_ADDREG_KEYONLY = 0x0010
  349. REG_DWORD = 0x10001
  350. SERVICE_DEMAND_START = 3
  351. SERVICE_AUTO_START = 2
  352. SERVICE_WIN32_SHARE_PROCESS = 32
  353. SERVICE_FILE_SYSTEM_DRIVER = 2
  354. SERVICE_WIN32_OWN_PROCESS = 16
  355.  
  356. ; Characteristic flags
  357. NCF_VIRTUAL                 = 0x0001
  358. NCF_WRAPPER                 = 0x0002
  359. NCF_PHYSICAL                = 0x0004
  360. NCF_HIDDEN                  = 0x0008
  361. NCF_NO_SERVICE              = 0x0010
  362. NCF_NOT_USER_REMOVABLE      = 0x0020
  363. NCF_HAS_UI                  = 0x0080
  364. NCF_MODEM                   = 0x0100
  365.  
  366. KEY_OPTIONAL            = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  367.  
  368.